package com.uzai.console.service.sop;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.uzai.console.dto.BaseDto;
import com.uzai.console.dto.sop.sopprirewardrule.SopPriRewardRuleDto;
import com.uzai.console.dto.sop.sopprirewardrule.SopPriRewardRuleIdDto;
import com.uzai.console.dto.sop.sopprirewardrule.SopPriRewardRuleQuery;
import com.uzai.console.dto.sop.sopprirewardrule.SopPriRewardRuleSendParaDto;
import com.uzai.console.vo.sop.sopprirewardrule.SopPriRewardRuleSendParaVo;
import com.uzai.console.vo.sop.sopprirewardrule.SopPriRewardRuleVo;

/***
 * @author liuqi
 * @date 2021年09月01日 19:26
 */
public interface SopPriRewardRuleService {

    /**
     * 分页查询Sop定向规则
     * @author liuqi
     * @date 2021/8/25 11:38
     * @param sopPriRewardRuleQuery
     * @return null
     */
    Page<SopPriRewardRuleVo> findByPage(SopPriRewardRuleQuery sopPriRewardRuleQuery);

    /**
     * 查询Sop定向规则
     * @author liuqi
     * @date 2021/8/25 11:38
     * @param sopPriRewardRuleIdDto
     * @return null
     */
    SopPriRewardRuleVo findById(SopPriRewardRuleIdDto sopPriRewardRuleIdDto);

    /**
     * 删除Sop定向规则
     * @author liuqi
     * @date 2021/8/25 11:38
     * @param sopPriRewardRuleIdDto
     * @return null
     */
    void deleteSopPriRewardRule(SopPriRewardRuleIdDto sopPriRewardRuleIdDto);

    /**
     * 修改Sop定向规则
     * @author liuqi
     * @date 2021/8/25 11:38
     * @param sopPriRewardRuleDto
     * @return null
     */
    void updateSopPriRewardRule(SopPriRewardRuleDto sopPriRewardRuleDto);

    /**
     * 修改Sop定向规则发送参数
     * @author liuqi
     * @date 2021/8/25 11:38
     * @param sopPriRewardRuleSendParaDto
     * @return null
     */
    void updateSendPara(SopPriRewardRuleSendParaDto sopPriRewardRuleSendParaDto);

    /**
     * 查询Sop定向规则发送参数
     * @author liuqi
     * @date 2021/8/25 11:38
     * @param baseDto
     * @return null
     */
    SopPriRewardRuleSendParaVo findSendPara(BaseDto baseDto);


}
